/**
 * User: Egor Bondarenko
 * Date: 29/11/11
 */
package org.electronic.registration.event {
import flash.events.Event;

import mx.collections.ArrayCollection;

public class DepartamentEvent extends Event {
    private var _docListDataProvider:ArrayCollection;

    public static const DEPARTAMENTS_LOADED:String = "DEPARTAMENTS_LOADED";

    public function DepartamentEvent(type:String, doctorList:ArrayCollection = null) {
        super(type, false, false)
        _docListDataProvider = doctorList;
    }


    public function get docListDataProvider():ArrayCollection {
        return _docListDataProvider;
    }

    public function set docListDataProvider(value:ArrayCollection):void {
        _docListDataProvider = value;
    }
}
}
